<div class="pop_content clear">
    <form method="post" id="exportForm" action="">
        <input type="hidden" name="charset" value="GB18030"/>
        <input type="hidden" name="viewType" value="{{viewType}}"/>
        <input type="hidden" name="departIds" id="departIdsForExport"/>
        <input type="hidden" name="userIds" id="userIdsForExport"/>
        <ul class="pop_list export_pop_list crate-entity-list">
            <li>
                <label>{{'APPROVAL_SUBMIT_DATE' | i18n}}</label>
                <div class="start-time">
                    <div class="date_area clear">
                        <span class="data_picker"></span>
                        <input id="exportStartDate" name="startDate" value="{{startDate}}" type="text" class="nc_date date" title="{{'APPROVAL_START_DATE' | i18n}}"/>
                    </div>
                    <span style="margin:2px 9px 0 2px;">{{'APPROVAL_TO' | i18n}}</span>
                    <div class="date_area clear">
                        <span class="data_picker"></span>
                        <input id="exportEndDate" name="endDate" value="{{endDate}}" type="text" class="nc_date date" title="{{'APPROVAL_END_DATE' | i18n}}"/>
                    </div>
                </div>
                <span style="color: red"> *</span>
            </li>
            {{if viewType == 3}}
                <li class="select_departments">
                    <label>{{'APPROVAL_SELECT_DEPARTMENT' | i18n}}</label>
                    <div class="field_content daochu_field_content">
                        <input id="departSelectForExport" type="text"/>
                    </div>
                </li>
            {{/if}}
            {{if viewType == 2 || viewType == 3}}
                <li class="select_users">
                    <label>{{'APPROVAL_SELECT_USER' | i18n}}</label>
                    <div class="field_content daochu_field_content">
                        <input type="text" id="subUser"/>
                    </div>
                </li>
            {{/if}}
            <li class="select_belongtypeid">
                <label>{{'APPROVAL_FLOW_CATEGORY' | i18n}}</label>
                <div class="field_content daochu_field_content">
                    <span class="ui-select-buttonset">
                        <select id="flowCategoryId" name="flowCategoryId">
                        {{each flowCategories as flowCategory i}}
                            <option value="{{flowCategory.id}}">{{flowCategory.name}}</option>
                        {{/each}}
                        </select>
                    </span>
                </div>
            </li>
        </ul>
    </form>
</div>